package com.sright.bcard.user.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.user.dal.entity.AdminDO;

import java.util.List;

public interface AdminDAO extends BaseDAO<AdminDO> {

    int deleteByPrimaryKey(Integer id);

    List<AdminDO> selectByUserName(String username);

    AdminDO selectByEnterpriseId(Long id);

    AdminDO selectByMobile(String mobile);

    Integer updateDayFirstLogin();
}
